<? $page_title='出库明细' ?>
<?include "FASHION/page_header.phtml"?>
<div id="printArea">
<table class="ptop" border="0" cellpadding="4" cellspacing="0" width="100%">
         <thead>
            <tr class="nobg">
                <th colspan="4"><h2><?$print_com_name?></h2></th>
            </tr>
            <tr class="nobg">
                <th colspan="4"><h1><?$page_title?></h1></th>
            </tr>
        </thead>        
    </table>
<table border=0 class="list pcontent" width="100%">
    <thead>
	<tr class="nobg">
		<th>出库单号</th>
		<th>材料编号</th>
		<th>材料名称</th>
		<th>品牌</th>
		<th>规格</th>
		<th>单位</th>
		<th>数量</th>
		<th>单价</th>
		<th>金额</th>
		<th>出库时间</th>
		<th>出库类型</th>
		<th>仓库</th>
		<th>审批流程</th>
		<th>备注</th>
	</tr>
        </thead>
        <tbody>
<{if $list}>
<{foreach item=ware from=$list}>
	<tr>
		<td style="word-break:break-all;"><{$ware.bound_sno}></td>
		<td style="word-break:break-all;"><{$ware.sno}>&nbsp;</td>
		<td style="word-break:break-all;"><{$ware.name}>&nbsp;</td>
		<td style="word-break:break-all;width:60px"><{$ware.brand}></td>
		<td style="word-break:break-all;width:60px"><{$ware.specific}></td>
		<td><{$ware.unit}></td>
		<td><{$ware.amount}></td>
		<td><{= number_format($ware.price,2)}></td>
		<td><{= number_format($ware.price * $ware.amount,2)}></td>
		<td><{= date('Y-m-d H:i', $ware.addtime)}></td>
		<td><{= BoundHelper::type2txt($ware.type) }></td>
		<td><{$ware.warehouse}></td>
		<td><?= join(' ', UserHelper::getNamesByIds(explode(',',$ware['reviewers']))) ?></td>
		<td class="text" style="word-break:break-all;"><{$ware.remark}></td>
	</tr>
<{/foreach}>
<{/if}>
</tbody>
</table>
</div>

<?include "FASHION/page_footer.phtml"?>
